<template>
    <div>
    <h2 class="font">学校名称:{{schoolName}}</h2>
    <h2 class="font">学校地址:{{address}}</h2>
    </div>
</template>

<script>
export default {
  name: 'student',
  data () {
    return {
      schoolName:'尚硅谷',
      address:'北京'
    }
  },
  methods: {

  },
}
</script>

<style scoped>
   *{
     margin: 0;
     padding: 0;
     border: 0;
   }
   .font{
     color: white;
     background-color: red;
   }
</style>
